import QtQuick 2.0
import QtQuick.Controls 1.2
import QtQml 2.2

Item {
    property var curDate: new Date()
    signal selectDate(date date1)
    Calendar {
        id: calendar
        anchors.topMargin: 0
        anchors.top: parent.bottom
        anchors.left: parent.left
        selectedDate: curDate
        onClicked: {
            curDate = date
            selectDate(curDate)
        }
    }
}
